package com.atguigu.yygh.user.service;

import com.atguigu.yygh.model.user.Patient;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface PatientService extends IService<Patient> {

    //获取就诊人列表
    List<Patient> findAllByUserId(Long userId);

    //根据id查询就诊人信息
    Patient getPatientById(Long id);

}
